Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Delete mSourceKeyOverwritten in processorParseApsaraNative to prevent concurrency issues. #1305

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

quzard
Copy link
Collaborator

@quzard quzard commented Jan 2, 2024

This submission resolves an issue in ProcessorParseApsaraNative. mSourceKeyOverwritten is no longer needed, and a local variable sourceKeyOverwritten has been defined to prevent concurrency issues.

@quzard quzard changed the title Fix: rm mSourceKeyOverwritten in ProcessorParseApsaraNative Fix: Delete mSourceKeyOverwritten in ProcessorParseApsaraNative. Jan 2, 2024
@quzard quzard added the bug Something isn't working label Jan 2, 2024
@quzard quzard changed the title Fix: Delete mSourceKeyOverwritten in ProcessorParseApsaraNative. Fix: Delete mSourceKeyOverwritten in ProcessorParseApsaraNative to prevent concurrency issues. Jan 2, 2024
@quzard quzard changed the title Fix: Delete mSourceKeyOverwritten in ProcessorParseApsaraNative to prevent concurrency issues. Fix: Delete mSourceKeyOverwritten in processorParseApsaraNative to prevent concurrency issues. Jan 2, 2024
@@ -125,7 +125,7 @@ bool ProcessorParseApsaraNative::ProcessEvent(const StringView& logPath,
if (!sourceEvent.HasContent(mSourceKey)) {
return true;
}
mSourceKeyOverwritten = false;
bool sourceKeyOverwritten = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修改后,测试下

@quzard quzard added this to the v2.0 milestone Jan 2, 2024
@yyuuttaaoo yyuuttaaoo merged commit d787724 into alibaba:main Jan 2, 2024
17 checks passed
@quzard quzard deleted the fix/ProcessorParseApsaraNative branch February 28, 2024 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants